//#ifndef _DRV_OLED_H_
//#define _DRV_OLED_H_
#ifndef __OLED_H__
#define __OLED_H__


#include <Arduino.h>
//#include "drv_i2c_bus.h"
#include "IIC_Bus.h"
//#include "Oled_Data.h"
//#include "drv_oled.h"
//#include "oled_data.h"
//#include "config.h"
#include "OLED_Data.h"

#ifdef __cplusplus
extern "C" {
#endif

void OLED_Init(void);
void oled_clear(void);
void oled_full(void);
void oled_refresh(void);
void OLED_Off(void);
void OLED_DrawLine(uint8_t x,uint8_t y, uint8_t interval);
void oled_show_char(uint8_t x,uint8_t y, char chr,uint8_t size1);
void oled_show_string(uint8_t x,uint8_t y,const char *chr,uint8_t size1, uint8_t flag);
void oled_show_pic(uint8_t x,uint8_t y, uint8_t xsize, uint8_t ysize, const uint8_t *pic, uint8_t flag);
void oled_clear_ram(uint8_t x, uint8_t y, uint8_t x_len, uint8_t y_len);
bool oled_malloc(void);
void oled_free(void);

void oled_display_off(void);
void oled_display_on(bool flag);
void  ten_min_off(void);

#ifdef __cplusplus
}
#endif

#endif
